package org.fat.nred.actd.tenant.mapper;

import org.apache.ibatis.annotations.Select;
import org.fat.nred.actd.tenant.entity.Datasource;

import java.util.List;

public interface DatasourceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Datasource record);

    int insertSelective(Datasource record);

    Datasource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Datasource record);

    int updateByPrimaryKey(Datasource record);

    @Select("SELECT * FROM  datasource")
    List<Datasource> selectAll();
}